#pragma once
#ifndef __WAB_OPENGL_WRAPPER__
#define __WAB_OPENGL_WRAPPER__

typedef void glDisplayFunc();

void WAB_GL_Init(int argc, char** argv);
void WAB_GL_InitWindow(int32 displayMode, int32 width, int32 height, int32 xPos, int32 yPos);
void WAB_GL_InitOrtho2D(GLenum firstMatrixMode, GLenum secondMatrixMode, GLdouble worldLeft, GLdouble worldRight, GLdouble worldTop, GLdouble worldBottom);
void WAB_GL_CreateViewport(int32 x, int32 y, int32 width, int32 height);
void WAB_GL_CreateWindow(const char* windowTitle);
void WAB_GL_SetWindowTitle(const char* windowTitle);

void WAB_GL_MainLoop();
void WAB_GL_SwapBuffer();

void WAB_GL_SetDisplayFunc(glDisplayFunc display);

#endif
